home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-06-18 | 8.8 KB | 263 lines | [TEXT/MPS ] |
- AppWannabe Changes:
-
- DoEvent.c:
-
- • TSMTE support was added for activate events. Normally TSM event support is added
- in a single place in the application. In this case, the TSMEvent call is
- distributed so that it is called only when needed to support TSMTE.
-
-
- IdleTasks.c:
-
- • TSMTE support was added. TSMEvent is called for null events so that the input
- method can correctly display the cursor.
-
- • IsCtlEvent is called for null events, as IsCtlEvent has been updated to handle
- balloon help for controls with balloon help defined for them.
-
-
- Menu.c:
-
- • A bug fix. DA windows weren't always getting closed.
-
-
- Start.c:
-
- • A header has been included that includes tons of other headers. The reason for
- this is that THINK C will only let you search headers that have been included
- into the project. This allows you to search headers that aren't actually used
- in the application. The reason that Start.c has this include is that Start.c
- is seldomly changed, and therefore the time hit for including all of these
- unused headers is reduced.
-
- • TSMTE support has been added. The TSMTE startup and shutdown are added to Start.c
-
-
- Window.c:
-
- • A bug fix. When the final page is printed, gPrintPage is supposed to be set to 0.
- This addition means that printing will print only one page. Without this addition,
- it kept spewing out pages.
-
-
- WindowDialog.c:
-
- • A change was mode in the framework so that it no longer uses a regular dialog
- for reporting errors. Instead, it uses a framework dialog of type 'ERR#'. Code
- has been added so that the error number is reported for dialogs of this type.
- If you wish to do more, then you can change the code in the DialogInitContent
- function to something more robust.
-
-
-
- DTS.Draw Changes:
-
- File.c:
-
- • A line tool was added to DTS.Draw. In addition, pen size and color attributes were
- added to the objects. The 'PENS' document type is a dialog for setting the pen size.
-
-
- IdleTasks.c:
-
- • TSMTE support was added. TSMEvent is called for null events so that the input
- method can correctly display the cursor.
-
- • IsCtlEvent is called for null events, as IsCtlEvent has been updated to handle
- balloon help for controls with balloon help defined for them.
-
-
- Menu.c:
-
- • Changes were made to support the new menu for pen size and color.
-
-
- Start.c:
-
- • A header has been included that includes tons of other headers. The reason for
- this is that THINK C will only let you search headers that have been included
- into the project. This allows you to search headers that aren't actually used
- in the application. The reason that Start.c has this include is that Start.c
- is seldomly changed, and therefore the time hit for including all of these
- unused headers is reduced.
-
- • TSMTE support has been added. The TSMTE startup and shutdown are added to Start.c
-
-
- TGroupObj.c:
-
- • A change was made to the messages for the objects. There are now two types of rects.
- The first type is the rect that defines the object. The second rect is the bounding
- box of the object. Prior to the line object, these two rects were the same. However,
- with the line object, part of the line can extend outside the object rect, due to the
- pen width of the line. Also, there was a compare message added so that it could more
- easily be determined if an object changed. The rect used to be compared for this
- purpose, but with the additional ways that an object can be changed, this was no longer
- adequate.
-
-
- TOvalObj.c:
-
- • The objects also now draw themselves with the additional attributes. Each object draws
- itself in color, and with the correct width for the border and the interior. Also, the
- same changes were made to the oval object as the group object.
-
-
- TPieObj.c:
-
- • Same type of changes as TOvalObj.c.
-
-
- TRectObj.c:
-
- • Same type of changes as TOvalObj.c.
-
-
- TreeObj2.h:
-
- • A sub-message for selecting an object without drawing the new selection state was added.
-
-
- TRRectObj.c:
-
- • Same type of changes as TOvalObj.c.
-
-
- Window.c:
-
- • Lots of changes were made to support the new object type and editing features.
-
-
- WindowDialog.c:
-
- • A change was mode in the framework so that it no longer uses a regular dialog
- for reporting errors. Instead, it uses a framework dialog of type 'ERR#'. Code
- has been added so that the error number is reported for dialogs of this type.
- If you wish to do more, then you can change the code in the DialogInitContent
- function to something more robust.
-
-
-
-
- DTS.Lib Changes:
-
- AERequired.c:
-
- • The order of start/restart for initial document creation and calling DoOpenApplication()
- were backwards. It is sometimes important to have the application startup windows created
- prior to calling DoOpenApplication(). This allows startup functions to be able to reference
- these other startup documents.
-
-
- AEWFMT.c:
-
- • A couple of bug fixed, plus one function was rewritten for efficiency.
-
-
- CtlHandler.c:
-
- • IsCtlEvent was extensively modified to support various new features, including
- balloon help for controls with defined balloon help added with the AppsToGo editor.
-
-
- File.c:
-
- • Bug fixed, plus a file filter was added so that the application could choose different
- file filtering and still use the framework's getfile and putfile functionality.
-
-
- GWLayers.c:
-
- • There was a bug where if two offscreens were created based on the screen depth, the
- second wouldn't always get created with the correct depth. This was due to that
- the frst offscreen would get mapped correctly to the monitors, but the second one
- would use a local rect instead of a global rect for the depth determination. For
- multiple monitor systems with varying depths, this could cause the incorrect depth
- to be used for the second offscreen. Now if a depth isn't indicated, instead of
- always determining the depth based on the monitors, the depth of the above layer
- is used. If there is no above layer, then the depth of the monitor area encompassed
- by the rect is used. This gives the same intended functionality as before, but
- fixes the bug.
-
-
- Init.c:
-
- • The order of start/restart for initial document creation and calling DoOpenApplication()
- were backwards. It is sometimes important to have the application startup windows created
- prior to calling DoOpenApplication(). This allows startup functions to be able to reference
- these other startup documents.
-
-
- ListControl.c:
-
- • The control style wasn't always reflected if the control was given a font or style
- with the AppsToGo editor. Now the correct font and style is always used, independent
- of the type of edit that is being performed.
-
-
- StringUtils.c:
-
- • New functions were added for comparing handles and blocks of data.
-
-
- TextEditControl.c:
-
- • The TextEditControl has been modified to support TSMTE, if it is available.
-
- • Two new functions have been added to get a pascal string from a text edit control
- and to put psacal strings into text edit controls. These are called
- CTEGetPStr and CTESetPStr.
-
-
- TreeObj.c:
-
- • A name change was made to be more consistent.
-
- • A standard message has been added to the object handling for comparing two objects.
- The main function for the compare is EqualTreeObjData. The default compare function
- is DefaultEqualTreeObjData.
-
-
- Utilities.c:
-
- • Some bug fixed in terms of setting and restoring the font and style when managing
- a control. It is better practice to make the associated calls than to simply
- slam the font and style values back into the grafPort.
-
-
- ViewHierarchy.c:
-
- • The code has been rewritten to use an AppsToGo editor definition of what the
- view hierarchy window should look like. This saves code and therefore makes the
- application somewhat smaller. (The data definition is smaller than the code.)
-
-
- Window2.c:
-
- • Bug fix in determining which monitor to initially display. The order of the
- search depended on which monitor device was found first when the Mac booted up.
- Now it breaks out of a loop when the main device is desired and is found.
-
- • Bug fix where the outline of a window was dragged in front of a balloon help window.
- The problem here was that the balloon window would be disposed of too soon, thus
- causing a screen goober if the gray area of the window drag was over the balloon
- window when released. Now the gray area is dragged behind the balloon, and therefore
- the balloon going away is no longer a problem.
-
- • Bug fix where the searching for the next window to handle a key down included
- invisible windows. Now the keys are passed only to visible windows.
-
- • Bug fix where a variable wasn't always initialized prior to usage. It was
- conditionally initialized, and therefore even the MPW compiler (and testing) didn't
- catch it.
-
- • Bug fix where the old port wasn't restored as expected.
-
- • Bug fix where palette windows are now inactivated if a dialog is active in front
- of them. (The correct human interface thing to do.)
-
- • Bug fix where textedit and list controls disn't always get the correct default
- font and style when created.
-
-
-